package controllers.sensors.implementation.tinkerforge.devicelistener;

import com.tinkerforge.BrickletAmbientLight.IlluminanceListener;

import controllers.persist.REMSPersist;
import controllers.sensors.implementation.tinkerforge.TFSensorListener;

public class AmbientListener extends TFSensorListener implements IlluminanceListener {

    public AmbientListener(REMSPersist persist, String sensorUID, Object sensorType) {
        super(persist, sensorUID, sensorType);
    }

    @Override
    public void illuminance(int arg0) {
        persist.saveSensorData(arg0, sensorUID, sensorType);

    }

}
